package com.the4man.framework.model.gen;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lenovo on 2017/12/11.
 */
public class EmployeeRoomHistoryExampleBase {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria = new ArrayList();
    protected int limitStart = -1;
    protected int rowsPerPage = -1;

    public EmployeeRoomHistoryExampleBase() {
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return this.orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return this.distinct;
    }

    public List<EmployeeRoomHistoryExampleBase.Criteria> getOredCriteria() {
        return this.oredCriteria;
    }

    public void or(EmployeeRoomHistoryExampleBase.Criteria criteria) {
        this.oredCriteria.add(criteria);
    }

    public EmployeeRoomHistoryExampleBase.Criteria or() {
        EmployeeRoomHistoryExampleBase.Criteria criteria = this.createCriteriaInternal();
        this.oredCriteria.add(criteria);
        return criteria;
    }

    public EmployeeRoomHistoryExampleBase.Criteria createCriteria() {
        EmployeeRoomHistoryExampleBase.Criteria criteria = this.createCriteriaInternal();
        if(this.oredCriteria.size() == 0) {
            this.oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected EmployeeRoomHistoryExampleBase.Criteria createCriteriaInternal() {
        EmployeeRoomHistoryExampleBase.Criteria criteria = new EmployeeRoomHistoryExampleBase.Criteria();
        return criteria;
    }

    public void clear() {
        this.oredCriteria.clear();
        this.orderByClause = null;
        this.distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart = limitStart;
    }

    public int getLimitStart() {
        return this.limitStart;
    }

    public void setRowsPerPage(int rowsPerPage) {
        this.rowsPerPage = rowsPerPage;
    }

    public int getRowsPerPage() {
        return this.rowsPerPage;
    }

    public static class Criteria extends EmployeeRoomHistoryExampleBase.GeneratedCriteria {
        protected Criteria() {
        }
    }

    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String typeHandler;

        public String getCondition() {
            return this.condition;
        }

        public Object getValue() {
            return this.value;
        }

        public Object getSecondValue() {
            return this.secondValue;
        }

        public boolean isNoValue() {
            return this.noValue;
        }

        public boolean isSingleValue() {
            return this.singleValue;
        }

        public boolean isBetweenValue() {
            return this.betweenValue;
        }

        public boolean isListValue() {
            return this.listValue;
        }

        public String getTypeHandler() {
            return this.typeHandler;
        }

        protected Criterion(String condition) {
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if(value instanceof List) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }

        }

        protected Criterion(String condition, Object value) {
            this(condition, value, (String)null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, (String)null);
        }
    }

    protected abstract static class GeneratedCriteria {
        protected List<EmployeeRoomHistoryExampleBase.Criterion> criteria = new ArrayList();

        protected GeneratedCriteria() {
        }

        public boolean isValid() {
            return this.criteria.size() > 0;
        }

        public List<EmployeeRoomHistoryExampleBase.Criterion> getAllCriteria() {
            return this.criteria;
        }

        public List<EmployeeRoomHistoryExampleBase.Criterion> getCriteria() {
            return this.criteria;
        }

        protected void addCriterion(String condition) {
            if(condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            } else {
                this.criteria.add(new EmployeeRoomHistoryExampleBase.Criterion(condition));
            }
        }

        protected void addCriterion(String condition, Object value, String property) {
            if(value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            } else {
                this.criteria.add(new EmployeeRoomHistoryExampleBase.Criterion(condition, value));
            }
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if(value1 != null && value2 != null) {
                this.criteria.add(new EmployeeRoomHistoryExampleBase.Criterion(condition, value1, value2));
            } else {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdIsNull() {
            this.addCriterion("id is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdIsNotNull() {
            this.addCriterion("id is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdEqualTo(String value) {
            this.addCriterion("id =", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdNotEqualTo(String value) {
            this.addCriterion("id <>", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdGreaterThan(String value) {
            this.addCriterion("id >", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("id >=", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdLessThan(String value) {
            this.addCriterion("id <", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdLessThanOrEqualTo(String value) {
            this.addCriterion("id <=", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdLike(String value) {
            this.addCriterion("id like", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdNotLike(String value) {
            this.addCriterion("id not like", value, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdIn(List<String> values) {
            this.addCriterion("id in", values, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdNotIn(List<String> values) {
            this.addCriterion("id not in", values, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdBetween(String value1, String value2) {
            this.addCriterion("id between", value1, value2, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andIdNotBetween(String value1, String value2) {
            this.addCriterion("id not between", value1, value2, "id");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdIsNull() {
            this.addCriterion("emp_id is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdIsNotNull() {
            this.addCriterion("emp_id is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdEqualTo(String value) {
            this.addCriterion("erh.emp_id =", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdNotEqualTo(String value) {
            this.addCriterion("emp_id <>", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdGreaterThan(String value) {
            this.addCriterion("emp_id >", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("emp_id >=", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdLessThan(String value) {
            this.addCriterion("emp_id <", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdLessThanOrEqualTo(String value) {
            this.addCriterion("emp_id <=", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdLike(String value) {
            this.addCriterion("emp_id like", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdNotLike(String value) {
            this.addCriterion("emp_id not like", value, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdIn(List<String> values) {
            this.addCriterion("emp_id in", values, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdNotIn(List<String> values) {
            this.addCriterion("emp_id not in", values, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdBetween(String value1, String value2) {
            this.addCriterion("emp_id between", value1, value2, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andEmpIdNotBetween(String value1, String value2) {
            this.addCriterion("emp_id not between", value1, value2, "empId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdIsNull() {
            this.addCriterion("orig_room_id is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdIsNotNull() {
            this.addCriterion("orig_room_id is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdEqualTo(String value) {
            this.addCriterion("orig_room_id =", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdNotEqualTo(String value) {
            this.addCriterion("orig_room_id <>", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdGreaterThan(String value) {
            this.addCriterion("orig_room_id >", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("orig_room_id >=", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdLessThan(String value) {
            this.addCriterion("orig_room_id <", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdLessThanOrEqualTo(String value) {
            this.addCriterion("orig_room_id <=", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdLike(String value) {
            this.addCriterion("orig_room_id like", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdNotLike(String value) {
            this.addCriterion("orig_room_id not like", value, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdIn(List<String> values) {
            this.addCriterion("orig_room_id in", values, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdNotIn(List<String> values) {
            this.addCriterion("orig_room_id not in", values, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdBetween(String value1, String value2) {
            this.addCriterion("orig_room_id between", value1, value2, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigRoomIdNotBetween(String value1, String value2) {
            this.addCriterion("orig_room_id not between", value1, value2, "origRoomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdIsNull() {
            this.addCriterion("room_id is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdIsNotNull() {
            this.addCriterion("room_id is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdEqualTo(String value) {
            this.addCriterion("erh.room_id =", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdNotEqualTo(String value) {
            this.addCriterion("room_id <>", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdGreaterThan(String value) {
            this.addCriterion("room_id >", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdGreaterThanOrEqualTo(String value) {
            this.addCriterion("room_id >=", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdLessThan(String value) {
            this.addCriterion("room_id <", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdLessThanOrEqualTo(String value) {
            this.addCriterion("room_id <=", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdLike(String value) {
            this.addCriterion("room_id like", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdNotLike(String value) {
            this.addCriterion("room_id not like", value, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdIn(List<String> values) {
            this.addCriterion("room_id in", values, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdNotIn(List<String> values) {
            this.addCriterion("room_id not in", values, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdBetween(String value1, String value2) {
            this.addCriterion("room_id between", value1, value2, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andRoomIdNotBetween(String value1, String value2) {
            this.addCriterion("room_id not between", value1, value2, "roomId");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoIsNull() {
            this.addCriterion("orig_bed_no is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoIsNotNull() {
            this.addCriterion("orig_bed_no is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoEqualTo(String value) {
            this.addCriterion("orig_bed_no =", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoNotEqualTo(String value) {
            this.addCriterion("orig_bed_no <>", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoGreaterThan(String value) {
            this.addCriterion("orig_bed_no >", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoGreaterThanOrEqualTo(String value) {
            this.addCriterion("orig_bed_no >=", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoLessThan(String value) {
            this.addCriterion("orig_bed_no <", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoLessThanOrEqualTo(String value) {
            this.addCriterion("orig_bed_no <=", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoLike(String value) {
            this.addCriterion("orig_bed_no like", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoNotLike(String value) {
            this.addCriterion("orig_bed_no not like", value, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoIn(List<String> values) {
            this.addCriterion("orig_bed_no in", values, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoNotIn(List<String> values) {
            this.addCriterion("orig_bed_no not in", values, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoBetween(String value1, String value2) {
            this.addCriterion("orig_bed_no between", value1, value2, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOrigBedNoNotBetween(String value1, String value2) {
            this.addCriterion("orig_bed_no not between", value1, value2, "origBedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoIsNull() {
            this.addCriterion("bed_no is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoIsNotNull() {
            this.addCriterion("bed_no is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoEqualTo(String value) {
            this.addCriterion("bed_no =", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoNotEqualTo(String value) {
            this.addCriterion("bed_no <>", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoGreaterThan(String value) {
            this.addCriterion("bed_no >", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoGreaterThanOrEqualTo(String value) {
            this.addCriterion("bed_no >=", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoLessThan(String value) {
            this.addCriterion("bed_no <", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoLessThanOrEqualTo(String value) {
            this.addCriterion("bed_no <=", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoLike(String value) {
            this.addCriterion("bed_no like", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoNotLike(String value) {
            this.addCriterion("bed_no not like", value, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoIn(List<String> values) {
            this.addCriterion("bed_no in", values, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoNotIn(List<String> values) {
            this.addCriterion("bed_no not in", values, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoBetween(String value1, String value2) {
            this.addCriterion("bed_no between", value1, value2, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andBedNoNotBetween(String value1, String value2) {
            this.addCriterion("bed_no not between", value1, value2, "bedNo");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeIsNull() {
            this.addCriterion("type is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeIsNotNull() {
            this.addCriterion("type is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeEqualTo(String value) {
            this.addCriterion("type =", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeNotEqualTo(String value) {
            this.addCriterion("type <>", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeGreaterThan(String value) {
            this.addCriterion("type >", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeGreaterThanOrEqualTo(String value) {
            this.addCriterion("type >=", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeLessThan(String value) {
            this.addCriterion("type <", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeLessThanOrEqualTo(String value) {
            this.addCriterion("type <=", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeLike(String value) {
            this.addCriterion("type like", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeNotLike(String value) {
            this.addCriterion("type not like", value, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeIn(List<String> values) {
            this.addCriterion("type in", values, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeNotIn(List<String> values) {
            this.addCriterion("type not in", values, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeBetween(String value1, String value2) {
            this.addCriterion("type between", value1, value2, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andTypeNotBetween(String value1, String value2) {
            this.addCriterion("type not between", value1, value2, "type");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsIsNull() {
            this.addCriterion("props is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsIsNotNull() {
            this.addCriterion("props is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsEqualTo(String value) {
            this.addCriterion("props =", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsNotEqualTo(String value) {
            this.addCriterion("props <>", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsGreaterThan(String value) {
            this.addCriterion("props >", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsGreaterThanOrEqualTo(String value) {
            this.addCriterion("props >=", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsLessThan(String value) {
            this.addCriterion("props <", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsLessThanOrEqualTo(String value) {
            this.addCriterion("props <=", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsLike(String value) {
            this.addCriterion("props like", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsNotLike(String value) {
            this.addCriterion("props not like", value, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsIn(List<String> values) {
            this.addCriterion("props in", values, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsNotIn(List<String> values) {
            this.addCriterion("props not in", values, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsBetween(String value1, String value2) {
            this.addCriterion("props between", value1, value2, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andPropsNotBetween(String value1, String value2) {
            this.addCriterion("props not between", value1, value2, "props");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckIsNull() {
            this.addCriterion("deck is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckIsNotNull() {
            this.addCriterion("deck is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckEqualTo(String value) {
            this.addCriterion("deck =", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckNotEqualTo(String value) {
            this.addCriterion("deck <>", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckGreaterThan(String value) {
            this.addCriterion("deck >", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckGreaterThanOrEqualTo(String value) {
            this.addCriterion("deck >=", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckLessThan(String value) {
            this.addCriterion("deck <", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckLessThanOrEqualTo(String value) {
            this.addCriterion("deck <=", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckLike(String value) {
            this.addCriterion("deck like", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckNotLike(String value) {
            this.addCriterion("deck not like", value, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckIn(List<String> values) {
            this.addCriterion("deck in", values, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckNotIn(List<String> values) {
            this.addCriterion("deck not in", values, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckBetween(String value1, String value2) {
            this.addCriterion("deck between", value1, value2, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andDeckNotBetween(String value1, String value2) {
            this.addCriterion("deck not between", value1, value2, "deck");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaIsNull() {
            this.addCriterion("area is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaIsNotNull() {
            this.addCriterion("area is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaEqualTo(String value) {
            this.addCriterion("area =", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaNotEqualTo(String value) {
            this.addCriterion("area <>", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaGreaterThan(String value) {
            this.addCriterion("area >", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaGreaterThanOrEqualTo(String value) {
            this.addCriterion("area >=", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaLessThan(String value) {
            this.addCriterion("area <", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaLessThanOrEqualTo(String value) {
            this.addCriterion("area <=", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaLike(String value) {
            this.addCriterion("area like", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaNotLike(String value) {
            this.addCriterion("area not like", value, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaIn(List<String> values) {
            this.addCriterion("area in", values, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaNotIn(List<String> values) {
            this.addCriterion("area not in", values, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaBetween(String value1, String value2) {
            this.addCriterion("area between", value1, value2, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andAreaNotBetween(String value1, String value2) {
            this.addCriterion("area not between", value1, value2, "area");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeIsNull() {
            this.addCriterion("operate_type is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeIsNotNull() {
            this.addCriterion("operate_type is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeEqualTo(Short value) {
            this.addCriterion("operate_type =", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeNotEqualTo(Short value) {
            this.addCriterion("operate_type <>", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeGreaterThan(Short value) {
            this.addCriterion("operate_type >", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeGreaterThanOrEqualTo(Short value) {
            this.addCriterion("operate_type >=", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeLessThan(Short value) {
            this.addCriterion("operate_type <", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeLessThanOrEqualTo(Short value) {
            this.addCriterion("operate_type <=", value, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeIn(List<Short> values) {
            this.addCriterion("operate_type in", values, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeNotIn(List<Short> values) {
            this.addCriterion("operate_type not in", values, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeBetween(Short value1, Short value2) {
            this.addCriterion("operate_type between", value1, value2, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andOperateTypeNotBetween(Short value1, Short value2) {
            this.addCriterion("operate_type not between", value1, value2, "operateType");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserIsNull() {
            this.addCriterion("update_user is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserIsNotNull() {
            this.addCriterion("update_user is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserEqualTo(String value) {
            this.addCriterion("update_user =", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserNotEqualTo(String value) {
            this.addCriterion("update_user <>", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserGreaterThan(String value) {
            this.addCriterion("update_user >", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_user >=", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserLessThan(String value) {
            this.addCriterion("update_user <", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserLessThanOrEqualTo(String value) {
            this.addCriterion("update_user <=", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserLike(String value) {
            this.addCriterion("update_user like", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserNotLike(String value) {
            this.addCriterion("update_user not like", value, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserIn(List<String> values) {
            this.addCriterion("update_user in", values, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserNotIn(List<String> values) {
            this.addCriterion("update_user not in", values, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserBetween(String value1, String value2) {
            this.addCriterion("update_user between", value1, value2, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateUserNotBetween(String value1, String value2) {
            this.addCriterion("update_user not between", value1, value2, "updateUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeIsNull() {
            this.addCriterion("create_time is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeIsNotNull() {
            this.addCriterion("create_time is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeEqualTo(String value) {
            this.addCriterion("create_time =", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeNotEqualTo(String value) {
            this.addCriterion("create_time <>", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeGreaterThan(String value) {
            this.addCriterion("create_time >", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_time >=", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeLessThan(String value) {
            this.addCriterion("create_time <", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("create_time <=", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeLike(String value) {
            this.addCriterion("create_time like", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeNotLike(String value) {
            this.addCriterion("create_time not like", value, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeIn(List<String> values) {
            this.addCriterion("create_time in", values, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeNotIn(List<String> values) {
            this.addCriterion("create_time not in", values, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeBetween(String value1, String value2) {
            this.addCriterion("create_time between", value1, value2, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateTimeNotBetween(String value1, String value2) {
            this.addCriterion("create_time not between", value1, value2, "createTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserIsNull() {
            this.addCriterion("create_user is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserIsNotNull() {
            this.addCriterion("create_user is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserEqualTo(String value) {
            this.addCriterion("create_user =", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserNotEqualTo(String value) {
            this.addCriterion("create_user <>", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserGreaterThan(String value) {
            this.addCriterion("create_user >", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            this.addCriterion("create_user >=", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserLessThan(String value) {
            this.addCriterion("create_user <", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserLessThanOrEqualTo(String value) {
            this.addCriterion("create_user <=", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserLike(String value) {
            this.addCriterion("create_user like", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserNotLike(String value) {
            this.addCriterion("create_user not like", value, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserIn(List<String> values) {
            this.addCriterion("create_user in", values, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserNotIn(List<String> values) {
            this.addCriterion("create_user not in", values, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserBetween(String value1, String value2) {
            this.addCriterion("create_user between", value1, value2, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andCreateUserNotBetween(String value1, String value2) {
            this.addCriterion("create_user not between", value1, value2, "createUser");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeIsNull() {
            this.addCriterion("update_time is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeIsNotNull() {
            this.addCriterion("update_time is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeEqualTo(String value) {
            this.addCriterion("update_time =", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeNotEqualTo(String value) {
            this.addCriterion("update_time <>", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeGreaterThan(String value) {
            this.addCriterion("update_time >", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            this.addCriterion("update_time >=", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeLessThan(String value) {
            this.addCriterion("update_time <", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            this.addCriterion("update_time <=", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeLike(String value) {
            this.addCriterion("update_time like", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeNotLike(String value) {
            this.addCriterion("update_time not like", value, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeIn(List<String> values) {
            this.addCriterion("update_time in", values, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeNotIn(List<String> values) {
            this.addCriterion("update_time not in", values, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeBetween(String value1, String value2) {
            this.addCriterion("erh.update_time between", value1, value2, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andUpdateTimeNotBetween(String value1, String value2) {
            this.addCriterion("update_time not between", value1, value2, "updateTime");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonIsNull() {
            this.addCriterion("reason is null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonIsNotNull() {
            this.addCriterion("reason is not null");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonEqualTo(String value) {
            this.addCriterion("reason =", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonNotEqualTo(String value) {
            this.addCriterion("reason <>", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonGreaterThan(String value) {
            this.addCriterion("reason >", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonGreaterThanOrEqualTo(String value) {
            this.addCriterion("reason >=", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonLessThan(String value) {
            this.addCriterion("reason <", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonLessThanOrEqualTo(String value) {
            this.addCriterion("reason <=", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonLike(String value) {
            this.addCriterion("reason like", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonNotLike(String value) {
            this.addCriterion("reason not like", value, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonIn(List<String> values) {
            this.addCriterion("reason in", values, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonNotIn(List<String> values) {
            this.addCriterion("reason not in", values, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonBetween(String value1, String value2) {
            this.addCriterion("reason between", value1, value2, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }

        public EmployeeRoomHistoryExampleBase.Criteria andReasonNotBetween(String value1, String value2) {
            this.addCriterion("reason not between", value1, value2, "reason");
            return (EmployeeRoomHistoryExampleBase.Criteria)this;
        }
    }
}
